package com.gxa.clientkill.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author Jun
 * @version 1.0
 * @date 2020/11/17 15:23
 */

@FeignClient("CLIENT-ORDER")
public interface OrderService  {

    /**
     * 根据订单号查询订单详情
     * @param ordnum
     * @return order对象
     */
    @PostMapping("/ord/detail")
    public Map userOrddetail(@RequestParam("ordnum") String ordnum);
}
